Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add with_musl compile option to support musl-linux #27798

Merged
merged 1 commit into from
Oct 12, 2020

Conversation

chen-zhiyu
Copy link
Contributor

@chen-zhiyu chen-zhiyu commented Oct 10, 2020

PR types

New features

PR changes

Others

Describe

to support port paddle to libos-like SGX TEE enironment, which used musl as basic libc runtime.
currently supported scone and occlum, and graphene is under working.

  1. add with_musl compile option
  2. fix problem in quering libc version
  3. add macro to disable involved the backtrace(which is not valid in musl) when with_musl=on
  4. upgrade protobuf from 3.1.0 to 3.5.0, to fix the bswap_* function redefined in probuff lib when with_crypto is enabled(not in this version).

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Oct 10, 2020

✅ This PR's description meets the template requirements!
Please wait for other CI results.

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZHUI
Copy link
Collaborator

ZHUI commented Dec 15, 2021

image

PR中的 ldd 命令,部分机器上可能存在问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants